package com.pankajm.gre;

import junit.framework.TestCase;


public class WordItemTest extends TestCase {

	public void setUp() throws Exception {
	}

	public final void testFromString() {
		WordItem wordItem = WordItem.fromString("abase-->lower; degrade; humiliate; make humble; make (oneself) lose self-respect ");
		System.out.println("word:" + wordItem.getWord());
		System.out.println("meaning:" + wordItem.getMeaning());
		assertEquals("abase", wordItem.getWord());
		assertEquals("lower; degrade; humiliate; make humble; make (oneself) lose self-respect;", wordItem.getMeaning());
	}

}
